package com.xuetang9.t9.hotel.services;

import com.xuetang9.t9.hotel.beans.CommodityExpense;

/**
 *  商品消费明细
 * @author
 */
public interface ICommodityExpenseService {
    /**
     * 新增商品消费明细
     * @param commodityExpense
     * @return
     */
    boolean save(CommodityExpense commodityExpense);


    /**
     * 修改商品消费明细
     * @param commodityExpense
     * @return
     */
    boolean alter(CommodityExpense commodityExpense);

    /**
     * 根据消费明细表编号删除商品消费明细
     * @param id
     * @return
     */
    boolean removeByBillId(Long id);

    /**
     * 根据商品删除商品消费明细
     * @param id
     * @return
     */
    boolean removeByCommId(Integer id);

}
